package cn.source.system.domain;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.source.common.annotation.Excel;
import cn.source.common.core.domain.BaseEntity;
/**
 * 用户信息表对象 t_user_info
 *
 * @author gygl
 * @date 2023-08-31
 */
public class UserInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;
    /** 钉钉用户id */
    @Excel(name = "钉钉用户id")
    private String dingUserId;
    /** 用户真实姓名 */
    @Excel(name = "用户真实姓名")
    private String trueName;
    /** 手机号码 */
    @Excel(name = "手机号码")
    private String handset;
    /** 是否是领导者 */
    @Excel(name = "是否是领导者")
    private Long isLeader;
    /** 职位 */
    @Excel(name = "职位")
    private String position;
    /** 用户状态 */
    @Excel(name = "用户状态")
    private String userState;
    /** 是否是管理员 */
    @Excel(name = "是否是管理员")
    private String isAdmin;
    /** 用户级别 */
    @Excel(name = "用户级别")
    private Long userLevel;
    /** 角色id */
    @Excel(name = "角色id")
    private String unionId;
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }
    public Long getUserId()
    {
        return userId;
    }
    public void setDingUserId(String dingUserId)
    {
        this.dingUserId = dingUserId;
    }
    public String getDingUserId()
    {
        return dingUserId;
    }
    public void setTrueName(String trueName)
    {
        this.trueName = trueName;
    }
    public String getTrueName()
    {
        return trueName;
    }
    public void setHandset(String handset)
    {
        this.handset = handset;
    }
    public String getHandset()
    {
        return handset;
    }
    public void setIsLeader(Long isLeader)
    {
        this.isLeader = isLeader;
    }
    public Long getIsLeader()
    {
        return isLeader;
    }
    public void setPosition(String position)
    {
        this.position = position;
    }
    public String getPosition()
    {
        return position;
    }
    public void setUserState(String userState)
    {
        this.userState = userState;
    }
    public String getUserState()
    {
        return userState;
    }
    public void setIsAdmin(String isAdmin)
    {
        this.isAdmin = isAdmin;
    }
    public String getIsAdmin()
    {
        return isAdmin;
    }
    public void setUserLevel(Long userLevel)
    {
        this.userLevel = userLevel;
    }
    public Long getUserLevel()
    {
        return userLevel;
    }
    public void setUnionId(String unionId)
    {
        this.unionId = unionId;
    }
    public String getUnionId()
    {
        return unionId;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("dingUserId", getDingUserId())
            .append("trueName", getTrueName())
            .append("handset", getHandset())
            .append("isLeader", getIsLeader())
            .append("position", getPosition())
            .append("userState", getUserState())
            .append("isAdmin", getIsAdmin())
            .append("userLevel", getUserLevel())
            .append("unionId", getUnionId())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("remark", getRemark())
            .toString();
    }
}
